<html>
	<body>
		{% if game %}
		  <div>Added game between {{game.black_player.player}} and {{game.white_player.player}}</div>
		  <div>Score:  Black {{game.black_score}} to White {{game.white_score}} with a {{game.handicap}} stone handicap. </div>
		{% endif %} 
		<div>Add a game:</div>
		<form action="/addgame" method="post">
			<div> Black Player: <input type="text" name="black_player" /> </div>
			<div> White Player: <input type="text" name="white_player" /> </div>
			<div> Score:  Black <input type="text" name="black_score" />
				 White <input type="text" name="white_score" /> </div>
			<div> Handicap: <input type="text" name="handicap" value="0"> </div> 
			<div> <input type="submit" value="Add Game" /> </div>
		</form>
	</body>
</html>